package com.ruoyi.system.mapper;

import com.ruoyi.common.core.domain.entity.Energy;

import java.util.List;

/**
 * @Author: ruohao
 * @Date: 2023/9/14
 **/
public interface EnergyMapper {
    public Energy selectById(Long id);
    public List<Energy> selectList(Energy energy);
    public int insert(Energy energy);
    public int update(Energy energy);
    public int deleteById(Long id);
    /**
     * 批量删除【请填写功能名称】
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteEnergyByIds(Long[] ids);
    List<Energy> selectFiveList();
}
